home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / tool-inc.zip / ANSICOLR.INT < prev    next >
Text File  |  1990-02-25  |  1KB  |  51 lines

  1.  
  2. (*
  3.  * Copyright 1987, 1989 Samuel H. Smith;  All rights reserved
  4.  *
  5.  * This is a component of the ProDoor System.
  6.  * Do not distribute modified versions without my permission.
  7.  * Do not remove or alter this notice or any other copyright notice.
  8.  * If you use this in your own program you must distribute source code.
  9.  * Do not use any of this in a commercial product.
  10.  *
  11.  *)
  12.  
  13. function code_color(control: integer): string20;
  14.    {form an ansi color command}
  15.  
  16. procedure load_color_constants(name: string65);
  17.    {load a new set of color constants}
  18.  
  19. procedure position(x,y: byte);
  20.    {position cursor}
  21.  
  22. procedure clear_screen;
  23.    {easee screen in current color}
  24.  
  25. procedure clear_eol;
  26.    {clear to end of line}
  27.  
  28.  
  29. {color selection macros}
  30. function aRED:     string20;
  31. function aGREEN:   string20;
  32. function aYELLOW:  string20;
  33. function aBLUE:    string20;
  34. function aMAGENTA: string20;
  35. function aCYAN:    string20;
  36. function aWHITE:   string20;
  37. function aGRAY:    string20;
  38.  
  39. procedure adRED(m: string);
  40. procedure adGREEN(m: string);
  41. procedure adYELLOW(m: string);
  42. procedure adBLUE(m: string);
  43. procedure adMAGENTA(m: string);
  44. procedure adCYAN(m: string);
  45. procedure adWHITE(m: string);
  46. procedure adGRAY(m: string);
  47. procedure default_color;
  48.  
  49. {$i \tinc\ansicolr.dcl}
  50.  
  51.